<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Club extends Model
{
    protected $table = 'Clubs';

    public function coach()
    {
        return $this->hasMany('App\Coach');
    }

    public function course()
    {
        return $this->hasMany('App\Course');
    }

    public function video()
    {
        return $this->hasMany('App\Video');
    }

    public function checks()
    {
        return $this->hasMany('App\ClubsCheck');
    }
}
